package com.mall.shop.entity.order;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * ֧(PaymentInfo)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 20:33:59
 */
@Getter
@Setter
@TableName("oms_payment_info")
@Schema(name = "֧实体", description = "֧映射")
public class PaymentInfo implements Serializable {
    private static final long serialVersionUID = 564456460646758079L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "order_sn")
    @Schema(description = "")
    private String orderSn;
    
    @TableField(value = "order_id")
    @Schema(description = "")
    private Long orderId;
    
    @TableField(value = "alipay_trade_no")
    @Schema(description = "֧")
    private String alipayTradeNo;
    
    @TableField(value = "total_amount")
    @Schema(description = "֧")
    private Double totalAmount;
    
    @TableField(value = "subject")
    @Schema(description = "")
    private String subject;
    
    @TableField(value = "payment_status")
    @Schema(description = "֧")
    private String paymentStatus;
    
	@TableField(value = "create_time" , fill = FieldFill.INSERT)
    @Schema(description = "")
    private Date createTime;
    
    @TableField(value = "confirm_time")
    @Schema(description = "ȷ")
    private Date confirmTime;
    
    @TableField(value = "callback_content")
    @Schema(description = "")
    private String callbackContent;
    
    @TableField(value = "callback_time")
    @Schema(description = "")
    private Date callbackTime;
    
}

